package edu.scau.cxq.gp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.scau.cxq.gp.entity.SystemNotice;
import edu.scau.cxq.gp.entity.vo.NoticeVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface SystemNoticeMapper extends BaseMapper<SystemNotice> {
    List<SystemNotice> selectNoticeList(NoticeVO noticeVO);

    @Select("SELECT * FROM `t_notice` where status=#{id}")
    SystemNotice selectNoticeStatus(int id);
}
